package org.linlinjava.litemall.db.models;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.EqualsAndHashCode;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

import java.math.BigDecimal;
import java.time.LocalDateTime;

@Getter
@Setter
@ToString
@EqualsAndHashCode(callSuper = false)
@TableName("t_groupon_rules")
public class GrouponRules extends BaseModel{

    @TableField("goods_id")
    private Long goodsId;

    @TableField("goods_name")
    private String goodsName;

    @TableField("pic_url")
    private String picUrl;

    @TableField("discount")
    private BigDecimal discount;

    @TableField("discount_member")
    private Integer discountMember;

    @TableField("expire_time")
    private LocalDateTime expireTime;

    @TableField("status")
    private Short status;

}